package ModelLayer;


/**
 * This class creates an objekt of type Copy  
 * 
 * @author (group 1(A)) 
 * @version (14-04-2011)
 */
public class Copy
{
    // instance variables - replace the example below with your own
    private int serialNumber;
    private int getDate;
    private int getPrice;

    /**
     * Constructor for objects of class Eksemplar
     * @param serialNumber The serial number of the copy 
     * @param getDate The purchase date of the copy
     * @param getPrice The purchase price of the copy
     */
    public Copy(int serialNumber, int getDate, int getPrice)
    {
        this.serialNumber = serialNumber;
        this.getDate = getDate;
        this.getPrice = getPrice;
    }

    /**
     * Set the serieNr for Copy
     * @param serialNumber The serial number of the copy
     */
    public void setSerieNr(int serieNr)
    {
        this.serialNumber = serialNumber;
    }
    
    /**
     * Return the serieNr for Copy
     * @return Returns the serial number of the copy
     */
    public int getSerialNumber()
    {
        return serialNumber;
    }
    
    /**
     * Set the getDate for Copy
     * @param getDate The purchase date of the copy
     */
    public void setGetDate(int getDate)
    {
        this.getDate = getDate;
    }
    
    /**
     * Return the getDate for Copy
     * @return Returns the purchase date of the copy
     */
    public int getGetDate()
    {
        return getDate;
    }
    
    /**
     * Set the getPrice for Copy
     * @param getPrice The purchase price of the copy
     */
    public void setGetPricee(int getPrice)
    {
        this.getPrice = getPrice;
    }
    
    /**
     * Return the getPrice for Copy
     * @return Returns the purchase price of the copy
     */
    public int getGetPrice()
    {
        return getPrice;
    }
}
